package com.wwj.study.observer.proxy;

import com.wwj.study.observer.core.Event;
import com.wwj.study.observer.core.EventLisenter;
import com.wwj.study.observer.proxy.SubjectEventType;

/**
 * @Author: wuweijun
 * @Date: 2018/11/20 15:31
 */

//被观察者
public class Subject implements ISubject{


    public void add(){
        System.out.println("添加方法");
    }

    public void update(){
        System.out.println("修改方法");

    }

    public void delete(){
        System.out.println("删除方法");
    }

    public void query(){
        System.out.println("查询方法");
    }
}
